Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

183
Views
ng2-ckeditor "CKEDITOR" within my form not Working

I want to use CKEDITOR in my form. I pass the model to CKEDITOR but nothing happens, I did the same thing without using the form and it works correctly, What is the reason?

I have uploaded the codes and images below,

please guide me!

Thanks,

package.json

//...
  "@angular/core": "^11.2.2",
  "@angular/forms": "^11.2.2",
  "ng2-ckeditor": "^1.3.4",
//...

index.html

<!--...-->
<form *ngIf="active" #ticketForm="ngForm" novalidate (ngSubmit)="save()" autocomplete="off">
  <ckeditor #ticket_MessageOfTicket="ngModel"
  [(ngModel)]="this.messageOfTicket"
  [config]="config"></ckeditor>
  <!--...-->
</form>
<!--...-->

index.component.ts

//...
 config:any = {
     contentsLangDirection: 'rtl',
  }

//...
  ngOnInit(): void {
       this.messageOfTicket="<p>Hello <strong>world !</strong></p>";
   }
//...

enter image description here

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!